PokemonEncounter

@Serializable
data class PokemonEncounter(val pokemon: Handle.Named<PokemonVariety>, val versionDetails: List<VersionEncounterDetail>)(source)

A Pokémon encounter in a specific location area. See: https://pokeapi.co/docs/v2#pokemonencounter

Parameters

pokemon

The Pokémon being encountered.

versionDetails

A list of versions and encounters with Pokémon that might happen in the referenced location area.

Constructors

Link copied to clipboard
constructor(pokemon: Handle.Named<PokemonVariety>, versionDetails: List<VersionEncounterDetail>)

Properties

Link copied to clipboard
Link copied to clipboard